package com.huixue.zdb.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 外卖订单表
 * </p>
 *
 * @author ZhouHuRun
 * @since 2020-09-23
 */
public class OrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "orde_id", type = IdType.AUTO)
    private Integer ordeId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 提交时间
     */
    private LocalDateTime strattime;

    /**
     * 支付状态 0：已付款，1：未付款
     */
    private Integer buytype;

    /**
     * 骑手id
     */
    private Integer riderid;

    /**
     * 接单表状态 0：已受理，1：已接单，2：已完成，3：未接单
     */
    private Integer receivingstatusid;

    /**
     * 骑手配送时间表
     */
    private Integer ridertimeid;

    /**
     * 订单评分
     */
    private BigDecimal score;

    /**
     * 站点id
     */
    private Integer siteaid;


    public Integer getOrdeId() {
        return ordeId;
    }

    public void setOrdeId(Integer ordeId) {
        this.ordeId = ordeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDateTime getStrattime() {
        return strattime;
    }

    public void setStrattime(LocalDateTime strattime) {
        this.strattime = strattime;
    }

    public Integer getBuytype() {
        return buytype;
    }

    public void setBuytype(Integer buytype) {
        this.buytype = buytype;
    }

    public Integer getRiderid() {
        return riderid;
    }

    public void setRiderid(Integer riderid) {
        this.riderid = riderid;
    }

    public Integer getReceivingstatusid() {
        return receivingstatusid;
    }

    public void setReceivingstatusid(Integer receivingstatusid) {
        this.receivingstatusid = receivingstatusid;
    }

    public Integer getRidertimeid() {
        return ridertimeid;
    }

    public void setRidertimeid(Integer ridertimeid) {
        this.ridertimeid = ridertimeid;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getSiteaid() {
        return siteaid;
    }

    public void setSiteaid(Integer siteaid) {
        this.siteaid = siteaid;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
        "ordeId=" + ordeId +
        ", userId=" + userId +
        ", strattime=" + strattime +
        ", buytype=" + buytype +
        ", riderid=" + riderid +
        ", receivingstatusid=" + receivingstatusid +
        ", ridertimeid=" + ridertimeid +
        ", score=" + score +
        ", siteaid=" + siteaid +
        "}";
    }
}
